How to mark and queue
Daniel Bergqvist [email protected]
<PRE>How do you want the packets be dropped? What do you want to achieve? Which rules will control which packets get dropped?
Regards,
Daniel
><i> -----Ursprungligt meddelande-----
</I>><i> Från: <A HREF="mailto:[email protected]">[email protected]</A> </I>><i> [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]För Josip Gracin </I>><i> Skickat: Thursday, October 19, 2000 2:06 PM
</I>><i> Till: bert hubert
</I>><i> Kopia: <A HREF="mailto:[email protected]">[email protected]</A>
</I>><i> Ämne: Re: [LARTC] How to mark and queue
</I>><i>
</I>><i>
</I>><i> bert hubert (<A HREF="mailto:[email protected]">[email protected]</A>) wrote:
</I>><i> > You could also use RED or GRED with strange configuration
</I>><i> values. RED also
</I>><i>
</I>><i> I understand that what you are suggesting would be much better for router
</I>><i> that handles high volumes of traffic. But, I will be using this for
</I>><i> simulating a *slow* and congested (WAN) link between several machines so
</I>><i> there won't be too much traffic and consequently the performance is not an
</I>><i> issue.
</I>><i>
</I>><i> Best regards,
</I>><i> Josip
</I>><i>
</I>><i>
</I>><i> _______________________________________________
</I>><i> LARTC mailing list / <A HREF="mailto:[email protected]">[email protected]</A> </I>><i> <A HREF="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</A> HOWTO:
</I><A HREF="http://ds9a.nl/2.4Routing/">http://ds9a.nl/2.4Routing/</A>
</PRE>
Josip Gracin [email protected]
<PRE>Daniel Bergqvist (<A HREF="mailto:[email protected]">[email protected]</A>) wrote:
><i> How do you want the packets be dropped? What do you want to achieve? Which </I>><i> rules will control which packets get dropped?
</I>
We have performed some measurements of packet drops on real WAN link. I would like to reproduce the characteristics of (congested) WAN link/router as close as possible. Rules for dropping will not be based on packet contents but on a random variable with certain distribution which in turn depends on parametars such as packet size (e.g. for voice traffic).
Josip
</PRE>
Clemens Sibon [email protected]
<PRE>Hi there,
><i>
</I>><i> Daniel Bergqvist (<A HREF="mailto:[email protected]">[email protected]</A>) wrote:
</I>><i> > How do you want the packets be dropped? What do you want to </I>><i> > achieve? Which
</I>><i> > rules will control which packets get dropped?
</I>><i>
</I>><i> We have performed some measurements of packet drops on real </I>><i> WAN link. I
</I>><i> would like to reproduce the characteristics of (congested)
</I>><i> WAN link/router
</I>><i> as close as possible. Rules for dropping will not be based on packet </I>><i> contents but on a random variable with certain distribution </I>><i> which in turn
</I>><i> depends on parametars such as packet size (e.g. for voice traffic). </I>
I've been told that for FreeBSD (sorry :-) there is the dummynet-device,
which has been specifically created to do such tests. Maybe this is
off-topic but it could be what you're looking for!
Check <A HREF="http://info.iet.unipi.it/~luigi/ip_dummynet/">http://info.iet.unipi.it/~luigi/ip_dummynet/</A> for details.
Greetings,
Clemens Sibon
</PRE>
Guy Van Den Bergh [email protected]
<PRE>Linux has support for such 'fake' interfaces too. I know diald (dial-on-demand-daemon) uses this for detecting and filtering traffic. You might want to check the diald documentation and/or HOWTO for details.
I would like to give more details myself, but unfortunately that's all I know about this :(
Greets, Guy
Clemens Sibon wrote:
><i>
</I>><i> Hi there,
</I>><i> >
</I>><i> > Daniel Bergqvist (<A HREF="mailto:[email protected]">[email protected]</A>) wrote:
</I>><i> > > How do you want the packets be dropped? What do you want to
</I>><i> > > achieve? Which
</I>><i> > > rules will control which packets get dropped?
</I>><i> >
</I>><i> > We have performed some measurements of packet drops on real
</I>><i> > WAN link. I
</I>><i> > would like to reproduce the characteristics of (congested)
</I>><i> > WAN link/router
</I>><i> > as close as possible. Rules for dropping will not be based on packet
</I>><i> > contents but on a random variable with certain distribution
</I>><i> > which in turn
</I>><i> > depends on parametars such as packet size (e.g. for voice traffic).
</I>><i>
</I>><i> I've been told that for FreeBSD (sorry :-) there is the dummynet-device,
</I>><i> which has been specifically created to do such tests. Maybe this is
</I>><i> off-topic but it could be what you're looking for!
</I>><i>
</I>><i> Check <A HREF="http://info.iet.unipi.it/~luigi/ip_dummynet/">http://info.iet.unipi.it/~luigi/ip_dummynet/</A> for details.
</I>><i>
</I>><i> Greetings,
</I>><i>
</I>><i> Clemens Sibon
</I>><i>
</I>><i> _______________________________________________
</I>><i> LARTC mailing list / <A HREF="mailto:[email protected]">[email protected]</A>
</I>><i> <A HREF="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</A> HOWTO: <A HREF="http://ds9a.nl/2.4Routing/">http://ds9a.nl/2.4Routing/</A> </I>
</PRE>